package com.happyrecyclingstation.mapper;

import com.happyrecyclingstation.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegisterMapper {
    /**
     * 注册
     * @param user
     */
    @Insert("insert into lzxm_user(username, phone, password, user_type, create_time, update_time) values " +
            "(#{username},#{phone},#{password},#{userType},#{createTime},#{updateTime})")
    void insert(User user);
}
